﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shared/MasterPage_User.master" AutoEventWireup="true" CodeFile="View.aspx.cs" Inherits="Pages_View" %>



<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContenetPlaceHolder2" Runat="Server">
    
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <!--TOP CENTER-->
    <div class="row">
	    <div class="col-lg-12">
		    <div class="title-bar text-white">
			    <span class="glyphicon glyphicon-chevron-right"></span>&nbsp;<span><strong>Option</strong></span>
		    </div>
		    <div class="display">
                <div class="row">
                    <div class="form-group">
                        <div class="col-lg-10">
                            <input type="text" class="form-control" id="Text4" runat="server" placeholder="Type your keywords here ..." />
                        </div>

                        <div class="col-lg-2">
                            <asp:Button CssClass="form-control btn btn-primary font-weight-bold" ID="Button2" 
                            runat="server" Text="Search" onclick="btnSearch_Click" />
                        </div>
                    </div>
                </div>
                <div style="margin-top:10px"></div>
			    <div class="row">
                    <div class="col-lg-6">
                        <div class="form-group">
                            <div style="padding-top:5px;">
                                <asp:Menu ID="Menu1" runat="server" Orientation="Horizontal">
                                <Items>
                                    <asp:MenuItem Text="A" Value="A"></asp:MenuItem>
                                    <asp:MenuItem Text="B" Value="B"></asp:MenuItem>
                                    <asp:MenuItem Text="C" Value="C"></asp:MenuItem>
                                    <asp:MenuItem Text="D" Value="D"></asp:MenuItem>
                                    <asp:MenuItem Text="E" Value="E"></asp:MenuItem>
                                    <asp:MenuItem Text="F" Value="F"></asp:MenuItem>
                                    <asp:MenuItem Text="G" Value="G"></asp:MenuItem>
                                    <asp:MenuItem Text="H" Value="H"></asp:MenuItem>
                                    <asp:MenuItem Text="I" Value="I"></asp:MenuItem>
                                    <asp:MenuItem Text="J" Value="J"></asp:MenuItem>
                                    <asp:MenuItem Text="K" Value="K"></asp:MenuItem>
                                    <asp:MenuItem Text="L" Value="L"></asp:MenuItem>
                                    <asp:MenuItem Text="M" Value="M"></asp:MenuItem>
                                    <asp:MenuItem Text="N" Value="N"></asp:MenuItem>
                                    <asp:MenuItem Text="O" Value="O"></asp:MenuItem>
                                    <asp:MenuItem Text="P" Value="P"></asp:MenuItem>
                                    <asp:MenuItem Text="Q" Value="Q"></asp:MenuItem>
                                    <asp:MenuItem Text="R" Value="R"></asp:MenuItem>
                                    <asp:MenuItem Text="S" Value="S"></asp:MenuItem>
                                    <asp:MenuItem Text="T" Value="T"></asp:MenuItem>
                                    <asp:MenuItem Text="U" Value="U"></asp:MenuItem>
                                    <asp:MenuItem Text="V" Value="V"></asp:MenuItem>
                                    <asp:MenuItem Text="W" Value="W"></asp:MenuItem>
                                    <asp:MenuItem Text="X" Value="X"></asp:MenuItem>
                                    <asp:MenuItem Text="Y" Value="Y"></asp:MenuItem>
                                    <asp:MenuItem Text="Z" Value="Z"></asp:MenuItem>
                                </Items>
                            </asp:Menu>
                            </div>
                            
                        </div>
                    </div>
                    <div class="col-lg-4">
                        <div class="form-group">
                            <div class="text-right">
                                <asp:RadioButton ID="RadioButton6" CssClass="txt-indent-5px" GroupName="EntType" Checked="true" runat="server" 
                                            Text="Both" />&nbsp;&nbsp;
                                <asp:RadioButton ID="RadioButton5" CssClass="txt-indent-5px" GroupName="EntType" runat="server" 
                                                Text="Personal" />&nbsp;&nbsp;
                                <asp:RadioButton ID="RadioButton4" CssClass="txt-indent-5px" GroupName="EntType" runat="server" 
                                                Text="Company" />
                            </div>
                            
                        </div>
                    </div>
		        </div>
	        </div>
        </div>
    </div>
    <!--TOP CENTER END-->
    <div style="margin-top:30px;">
    <!--BOTTOM CENTER-->
    <div class="row">
	    <div class="col-lg-12">
		    <div class="title-bar text-white">
			    <span class="glyphicon glyphicon-chevron-right"></span>&nbsp;<span><strong>Entries List</strong></span>
		    </div>
		    <div class="display">
			    <div class="row">
				    <div class="col-lg-12">
                        <asp:ListView ID="ListView1" runat="server" DataSourceID="EntityDataSource1">
                            <EmptyDataTemplate>
                                <div class="listview-pro">
                                    <div class="row">
                                        <!--<div class="col-lg-1">
                                            <div class="favor">
                                                <button>
                                                    <span class="glyphicon glyphicon-star-empty"></span>
                                                </button>
                                            </div>
                                        </div>-->
                                        <div class="col-lg-2">
                                            <asp:Image ID="ImagePro" CssClass="border-full" ImageUrl="~/Images/Pic/no-image.png" runat="server" Width="115" />
                                        </div>
                                        <div class="col-lg-10">
                                            <div class="row">
                                                <div class="col-lg-8">
                                                    <div class="title-entry">
                                                        <span><strong>Tilte Entry</strong></span>
                                                    </div>
                                                    
                                                </div>
                                                <div class="col-lg-4">
                                                    <div class="time-entry">
                                                        <span>1 hour 30 minutes ago</span>
                                                        <span >
                                                        <asp:Image ID="ImgIconAppr" CssClass="icon-approval" ImageUrl="~/Images/Icon/success.png" runat="server" ToolTip="Approve by Moderator 1" />
                                                        </span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-lg-12">
                                                    <div class="price-entry">
                                                        <span>$3.99</span>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="category-entry">
                                                        <span>Category of Entry</span>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="row">
                                                <div class="col-lg-10">
                                                    <div class="type-entry">
                                                        <span>Type: Sale | By: Personal</span>
                                                    </div>
                                                </div>
                                                <div class="col-lg-2">
                                                    <div class="view-entry">
                                                        <asp:Button ID="btnViewEnt" CssClass="btn btn-primary btn-xs"  runat="server" Text="View Entry" Font-Bold="True" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    
                                    </div>
                                </div>
                            </EmptyDataTemplate>

                            <ItemTemplate>
                                <span style="">ID:
                                <asp:Label ID="IDLabel" runat="server" Text='<%# Eval("ID") %>' />
                                <br />
                                EntryName:
                                <asp:Label ID="EntryNameLabel" runat="server" Text='<%# Eval("EntryName") %>' />
                                <br />
                                EntContent:
                                <asp:Label ID="EntContentLabel" runat="server" 
                                    Text='<%# Eval("EntContent") %>' />
                                <br />
                                CreateDate:
                                <asp:Label ID="CreateDateLabel" runat="server" 
                                    Text='<%# Eval("CreateDate") %>' />
                                <br />
                                Viewed:
                                <asp:Label ID="ViewedLabel" runat="server" Text='<%# Eval("Viewed") %>' />
                                <br />
<br /></span>
                            </ItemTemplate>
                            <LayoutTemplate>
                                <div ID="itemPlaceholderContainer" runat="server" style="">
                                    <span runat="server" id="itemPlaceholder" />
                                </div>
                                <div style="">
                                </div>
                            </LayoutTemplate>
                        </asp:ListView>
                        <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
                            ConnectionString="name=WRMOEntities" DefaultContainerName="WRMOEntities" 
                            EnableFlattening="False" EntitySetName="WRENTRies" EntityTypeFilter="WRENTRY" 
                            Select="it.[ID], it.[EntryName], it.[EntContent], it.[CreateDate], it.[Viewed]">
                        </asp:EntityDataSource>
				    </div>
			    </div>
		    </div>
	    </div>
    </div>
    <!--BOTTOM CENTER END-->
    </div>
</asp:Content>


